<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="${project_url}/common/lib/html5.js"></script>
<script type="text/javascript" src="${project_url}/common/lib/respond.min.js"></script>
<script type="text/javascript" src="${project_url}/common/lib/PIE_IE678.js"></script>
<![endif]-->
<link href="${project_url}/common/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="${project_url}/common/css/H-ui.login.css" rel="stylesheet" type="text/css" />
<link href="${project_url}/common/css/style.css" rel="stylesheet" type="text/css" />
<link href="${project_url}/common/lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->  
   <title>管理登录</title>
<meta name="keywords" content="H-ui.admin v2.3,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
<meta name="description" content="H-ui.admin v2.3，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value="" />

<div class="loginWraper">
  <div id="loginform" class="loginBox" >
    <h4 style="text-align: center">管理登录</h2>
    <form class="form form-horizontal" action="#" method="post">
      <div class="row cl"  style="margin-left: 14%">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
        <div class="formControls col-xs-8">
          <input id="username" name="username" type="text" placeholder="账户" class="input-text size-L">
        </div>
      </div>
      <div class="row cl" style="margin-left: 14%">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
        <div class="formControls col-xs-8">
          <input id="password" name="password" type="password" placeholder="密码" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
            </div>
      <div class="row cl">
        
      </div>
      <div class="row cl" style="margin-left: 20%">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input name="" type="button" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;" onclick="add()">
          <input name="" type="reset" class="btn btn-default radius size-L" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
      	<input name="" type="button" class="btn btn-success radius size-L" value="&nbsp;生&nbsp;成&nbsp;桌&nbsp;面&nbsp;图&nbsp;标&nbsp;"  onclick="createShortcut()">
        </div>
      </div>
    </form>
  </div>
</div>
<div class="footer">技术支持：惠学科技   020-29862999 </div>
<script type="text/javascript" src="${project_url}/common/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="${project_url}/common/js/H-ui.js"></script> 
<script type="text/javascript">

	function add(){
		var username = $('#username').val();
		var password = $('#password').val();
		$.ajax({
			url:'${isExist}',
			type:'post',
			dataType:"json",
			data:'username='+username+'&password='+password,
			success:function(rs){
				if(rs.err_code==-1){
					//alert(rs.err_msg);
					window.location.href='${jump_url}';
				}else{
					alert(rs.err_msg);
				}
			}
		});
		return false;
	}
	
	function createShortcut(){
		var jum_url = "${project_url}/createShortcut.jsp?url=${pre_url}&realfilename=${supplier_name}管理员登陆";
		window.open (jum_url) ;
	}
</script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?080836300300be57b7f34f4b3e97d911";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F080836300300be57b7f34f4b3e97d911' type='text/javascript'%3E%3C/script%3E"));
</script>
</body>
</html>